var express = require('express');
var router = express.Router();

var dataContrl = require('../controller/product.controller');
/* GET users listing. */

router.post('/data',dataContrl.create);
router.get('/data/:id',dataContrl.get);
router.put('/data/:id',dataContrl.update);
router.delete('/data/:id',dataContrl.remove);
router.post('/list',dataContrl.list);

router.post('/deletes',dataContrl.deletes);//删除多个


module.exports = router;
